#!/bin/bash 
cd php-5.6.28
./configure --prefix=/usr/local/php \
					 --with-config-file-path=/usr/local/php/etc \
					 --with-config-file-scan-dir=/usr/local/php/etc/conf.d \
					 --enable-fpm \
					 --with-mhash \
					 --with-fpm-user=yangjifang \
					 --with-fpm-group=yangjifang \
					 --with-mysql=mysqlnd \
					 --with-mysqli=mysqlnd \
					 --with-pdo-mysql=mysqlnd \
					 --enable-opcache \
					 --enable-static \
					 --enable-inline-optimization \
					 --enable-sockets \
					 --enable-wddx \
					 --enable-zip \
					 --with-jpeg-dir \
					 --with-png-dir \
					 --enable-calendar \
					 --enable-bcmath \
					 --enable-soap \
					 --with-zlib \
					 --with-bz2 \
					 --with-libXML-dir \
					 --with-curlwrappers \
					 --with-iconv \
					 --with-gd \
					 --with-xmlrpc \
					 --enable-gd-native-ttf \
					 --enable-mbstring \
					 --with-curl \
					 --enable-ftp \
					 --with-mcrypt \
					 --disable-ipv6 \
					 --disable-rpath \
					 --enable-shmop \
					 --enable-bcmath \
					 --disable-debug \
					 --with-openssl \
					 --enable-fileinfo
	
					 
#make ZEND_EXTRA_LIBS='-liconv'
make
make install

